{permissions level=$smarty.const.UILEVEL_PERMISSIONS}
{if $permissions.administrate == 1}
<a href="{link action=userperms _common=1}"><img class="mngmnt_icon" border="0" src="{$smarty.const.ICON_RELATIVE}userperms.png" title="{$_TR.alt_userperm}" alt="{$_TR.alt_userperm}" /></a>&nbsp;
<a href="{link action=groupperms _common=1}"><img class="mngmnt_icon" border="0" src="{$smarty.const.ICON_RELATIVE}groupperms.png" title="{$_TR.alt_groupperm}" alt="{$_TR.alt_groupperm}" /></a>
{/if}
{if $permissions.configure == 1}
<a href="{link action=edit}"><img class="mngmnt_icon" border="0" src="{$smarty.const.ICON_RELATIVE}configure.png" /></a>
{/if}
{if $permissions.configure == 1 or $permissions.administrate == 1}
<br />
{/if}
{/permissions}
{if $data->_noflash == 2}
    Flash not displayed because in Administrator mode
{else}    
{if $data->_noflash == 1}
<div class="error">
    No Flash File Uploaded
</div>
{else}
<a href="{$data->url}" alt="{$data->name}" title="{$data->name}">
    <div id="flashcontent_{$__loc->src}">
        This text is replaced by Flash movie.
        </div>
</a>
{literal}
<script type="text/javascript">
    var so = new SWFObject("{/literal}{$data->_flashurl}{literal}", "swf{/literal}{$data->id}{literal}", "{/literal}{$data->width}{literal}", "{/literal}{$data->height}{literal}", "6", "{/literal}{if $data->bgcolor !=""}{$data->bgcolor}{else}#ffffff{/if}{literal}");
    {/literal}{if $data->transparentbg != 1}{literal}so.addParam("wmode","opaque");{/literal}{else}{literal}so.addParam("wmode", "transparent");{/literal}{/if}{literal}
{/literal}
    so.write("flashcontent_{$__loc->src}");
</script>
{/if}
{/if}